<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<base href="http://localhost/<[base]>/"><!-- VAI -->

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="Distribution" content="Global" />
<meta name="Robots" content="index,follow" />

<link rel="stylesheet" type="text/css" media="screen, print" href="skins/<[skin]>/css/styles.css" />
<link rel="stylesheet" type="text/css" media="screen, print" href="css/beContent.css" />
		
<title>beContent - managing web applications</title>

<!-- BEGIN - libreria JS per editor wysiwyg -->
<script language="javascript" type="text/javascript" src="js/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
	theme : "advanced",
	mode : "specific_textareas",
	editor_selector : "mceEditor",
	plugins : "spellchecker,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,preview,searchreplace,contextmenu,paste,directionality,fullscreen,noneditable",
		//theme_advanced_buttons1_add : "fontselect,fontsizeselect",
		//theme_advanced_buttons2_add : "separator,preview,separator,forecolor,backcolor",
		theme_advanced_buttons2_add : "separator,preview",
		theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
		theme_advanced_buttons3_add_before : "tablecontrols,separator",
		theme_advanced_buttons3_add : "separator,fullscreen",
		//theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,spellchecker",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_path_location : "bottom",
		content_css : "../css/styles.css",
	    plugin_insertdate_dateFormat : "%Y-%m-%d",
	    plugin_insertdate_timeFormat : "%H:%M:%S",
		extended_valid_elements : "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
		external_link_list_url : "example_data/example_link_list.js",
		external_image_list_url : "example_data/example_image_list.js",
		flash_external_list_url : "example_data/example_flash_list.js",
		file_browser_callback : "mcFileManager.filebrowserCallBack",
		theme_advanced_resize_horizontal : true,
		theme_advanced_resizing : true,
		apply_source_formatting : true,
		spellchecker_languages : "+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv"
});
</script>
<!-- END - libreria JS per editor wysiwyg -->

<script>
function my_initMessage() {
	
	var msg = document.getElementById("message");
	
	if (msg.innerHTML != "") {
		var box = document.getElementById("messagebox");
		
		var top = (document.body.clientHeight/2) - 100;
		var left = (document.body.clientWidth-200)/2;
		
		box.style.top = top+"px";
		box.style.left = left+"px";
	   box.style.visibility = "visible";	
	   
	}
}

function my_closeMessage() {
	var box = document.getElementById("messagebox");
	
	box.style.visibility = "hidden";
}

function getCoordinates(element) {
 var coords = {x: 0, y: 0, width: 0};

 while (element) {
   coords.x += element.offsetLeft;
   coords.y += element.offsetTop;
//   coords.y += element.top;
   element = element.offsetParent;
 }

// alert(coords.x+' '+coords.y);
 return coords;
}


function openMenu() {
	var obj = document.getElementById("smallbox");
	if (obj.style.visibility != 'visible') {
		obj.style.visibility = 'visible';
	} else {
		obj.style.visibility = 'hidden';
	}
}

</script>
<[javascript]>
<[head]>
</head>

<body  onLoad="my_initMessage();">

<!-- Message Window -->
<div id="messagebox">
   <table cellpadding=0 cellspacing=0>
   <tr>
   <td class="ulcorner"></td>
   <td class="uedge">
      <span class="message_title">Notify</span>
   </td>
   <td class="urcorner">
   </td>
   </tr>
   <tr height=0>

   <td class=ledge></td>
   <td class=roundBox>
      <div id="message"><[message]></div>
   </td>
   <td class=redge></td>
   </tr>
   <tr>
   <td class=ledge></td>

   <td class=roundBox align=right>
    <a href="javascript:my_closeMessage();"><img border=0 src=img/message_box/close.jpg></a>
   </td>
   <td class=redge></td>
   </tr>

   <!--<tr>
   <td>img src="img/message_box/ll.jpg"></td>
   <td class=bedge></td>
   <td><img src="img/message_box/lr.jpg"></td>
   </tr> -->
   
   <tr>
   <td class="blcorner"></td>
   <td class="bedge"></td>
   <td class="brcorner"></td>
   </tr>
   </table>
</div>
<!-- Message WIndow -->

<!-- wrap starts here -->
<div id="wrap">
		
		<!--header -->
		<div id="header">			
				
			<div id="headermenu">
				
						
						<div><a href="logout.php">logout</a></div> 
			</div>	 
						
				
		</div>
		
		<!-- menu -->	
		 <div  id="menu">
			<!-- <ul>
				<li id="current"><a href="index.html">Home</a></li>
				<li><a href="index.html">Archives</a></li>
				<li><a href="index.html">Downloads</a></li>
				<li><a href="index.html">Services</a></li>
				<li><a href="index.html">Support</a></li>
				<li><a href="index.html">About</a></li>		
			</ul> -->
		</div>					
			
		<!-- content-wrap starts here -->
		<div id="content-wrap">
				
		 	<div id="sidebar-admin">
					
					<[menu::administrationMenu library="hiermenu"]>	
				
			</div>
				
			<div id="main-admin">
				<[body]>
			</div>
		
		<!-- content-wrap ends here -->	
		</div>
					
		<!--footer starts here-->
		<div id="footer">
			
			<a href="http://www.beContent.org"><img align=center style="border: 0px; padding-bottom: 5px;" src="img/beContent.png"></a>
				
		</div>	

<!-- wrap ends here -->
</div>

</body>
</html>
